
Component({
  properties: {
    obj: {
      type: null,
      value: ''
    },
    index:{
      type: null,
      value: ''
    }
  },

  methods: {
    _input(e) {
      var ename = e.currentTarget.dataset.ename;
      var value = e.detail.value;
      var index = e.currentTarget.dataset.index;
      this.triggerEvent('c_input', {
        ename,value,index
      })
    }
  }
})